﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.WorkflowCore
{
    /// <summary>
    /// 工作流存储
    /// </summary>
    public interface IWorkflowStorage
    {
        Workflow Find(string code);

        Workflow Find(string code, Version version);

        Workflow Find(Guid id);

        void Save(Workflow workflow);

        void Remove(Workflow workflow);
    }
}
